'use strict';

module.exports = app => {
  const { STRING, INTEGER } = app.Sequelize;

  const Business = app.model.define('business', {
    uid: { type: INTEGER, primaryKey: true, autoIncrement: true },
    status: STRING,
    userName: STRING,
    id: STRING,
    branchOffice: STRING,
    isFullTime: STRING,
    system: STRING,
    qualification: STRING,
    qualificationId: STRING,
    startTime: STRING,
    endTime: STRING,
    remark: STRING,
  });

  return Business;
};
